using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DialogCollider : MonoBehaviour
{
    public bool isStart;

    private void OnTriggerEnter2D(Collider2D collision)
    {
        if (!isStart &&collision.GetComponent<Player>() != null)
        {
            isStart = true;
            DialogManager2.instance.MyThink();
        }
    }
}
